package com.ems.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ems.vo.BaseVo;

import java.util.Date;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * <p>
 * 角色权限表
 * </p>
 * @author WuZH
 * @since 2023-10-24
 */
@Data
@TableName ("role_menu_info")
@ApiModel (value = "RoleMenuEntity对象", description = "角色权限表")
public class RoleMenuEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ("角色权限Id")
    @TableId (value = "id", type = IdType.INPUT)
    private String id;

    @ApiModelProperty ("角色Id")
    @TableField ("roleId")
    private String roleId;

    @ApiModelProperty ("权限Id")
    @TableField ("menuId")
    private String menuId;

    @TableField ("createTime")
    private Date createTime;

    @TableField ("changeTime")
    private Date changeTime;

    @TableField ("isUsed")
    private Integer isUsed;


}
